﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HangYi_Coffee_Class
{
    /// <summary>
    /// 地址表
    /// </summary>
    /// <returns></returns>
    public class Address
    {
        /// <summary>
        /// 编号id
        /// </summary>
        /// <returns></returns>
        public int Id { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        /// <returns></returns>
        public string? Phone { get; set; }
        /// <summary>
        /// 门牌号
        /// </summary>
        /// <returns></returns>
        public string? HouseNumber{ get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        /// <returns></returns>
        public string? Linkman { get; set; }

        /// <summary>
        /// 所属用户
        /// </summary>
        /// <returns></returns>
        public int UserId { get; set; } // 外键 
        public User User { get; set; }
    }
}
